import request, { download } from '@/utils/request'

// 查询获取项目信息列表列表
export function listProjectDetailsExport(data) {
  return request({
    url: '/projectInfo/getProjectInfoList',
    method: 'post',
    data: data,
  })
}

// 获取项目信息列表导出
export function exportProjectDetailsExport(data) {
  return download('/projectInfo/exportProjectInfo', data, `项目明细报表导出-${new Date().getTime()}.xlsx`)
}

//上传专家审核结论 当前行附件保存
export function projectInfoUpload(proId,data) {
  return request({
    url: '/projectInfo/upload/' + proId,
    method: 'post',
    data: data,
  })
}